<template>
  <view>
    <web-view :src="allUrl"></web-view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        allUrl: "",
        viewUrl: '/static/pdf/web/viewer.html?file='
      }
    },
    methods: {

    },
    onLoad(option) {
      this.allUrl = this.viewUrl + option.url
    }
  }
</script>

<style>

</style>